#include <string>
#include <iostream>
#include <sstream>
#include <iomanip>
using namespace std;

class MyFunction
{
public:
	static string IntToString(int number)
	{
		stringstream ss;
		ss << number;
		return ss.str();
	}

	static string FloatToString(float number)
	{
		stringstream ss;
		ss << number;
		return ss.str();
	}

	static int String2Int(string s)
	{	
		std::string a=s;
		std::istringstream b(a);
		int f;
		b >> f;
		return f;
	}

	static string Char2String(char s)
	{	
		int i = s;
		if( i < 0 || i > 254)
			i += 256;
		return MyFunction::IntToString(i);
		
	}

	static int String2Float(string s)
	{	
		std::string a=s;
		std::istringstream b(a);
		float f;
		b >> f;
		return f;
	}
};